﻿using PhysicalExamination5.Model.SystemSetting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PhysicalExamination5.Interface.SystemSetting
{
    public interface ICaiDanRule
    {
        /// <summary>
        /// 查询全部菜单规则
        /// </summary>
        /// <returns></returns>
        public string GetCaiDanRuleAll();
        /// <summary>
        /// 查询全部菜单目录
        /// </summary>
        /// <returns></returns>
        public string GetCaiDanMuLuAll();
        /// <summary>
        /// 新增菜单规则
        /// </summary>
        /// <param name="caiDanRule"></param>
        /// <returns></returns>
        public string PostCaiDanRuleAdd(CaiDanRuleClass caiDanRule);
        /// <summary>
        /// 修改菜单规则
        /// </summary>
        /// <param name="caiDanRule"></param>
        /// <returns></returns>
        public string PutCaiDanRuleUpdate(CaiDanRuleClass caiDanRule);
        /// <summary>
        /// 删除菜单规则
        /// </summary>
        /// <param name="ruleId"></param>
        /// <returns></returns>
        public string DeleteCaiDanRuleDelete(RuleId ruleId);
    }
}
